package com.aaa.javaweb.entity;


public class Role {

  private Integer id;
  private String jname;

  public Role() {
  }

  public Role(Integer id, String jname) {
    this.id = id;
    this.jname = jname;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getJname() {
    return jname;
  }

  public void setJname(String jname) {
    this.jname = jname;
  }

  @Override
  public String toString() {
    return "Role{" +
            "id=" + id +
            ", name='" + jname + '\'' +
            '}';
  }
}
